home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / alignselect.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-10-10  |  986 b   |  56 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef ALIGNSELECT_H
  8. #define ALIGNSELECT_H
  9.  
  10. #include <QHBoxLayout>
  11. #include <QToolButton>
  12. #include <QButtonGroup>
  13.  
  14. class QEvent;
  15.  
  16. #include "scribusapi.h"
  17.  
  18. class SCRIBUS_API AlignSelect : public QWidget
  19. {
  20.  
  21. Q_OBJECT
  22.  
  23. public:
  24.     AlignSelect(QWidget* parent);
  25.     ~AlignSelect() {};
  26.     void setStyle(int s);
  27.     int getStyle();
  28.     int selectedId();
  29.     
  30.     virtual void changeEvent(QEvent *e);
  31.  
  32.     QButtonGroup* buttonGroup;
  33.     int selected;
  34.     QToolButton* TextL;
  35.     QToolButton* TextR;
  36.     QToolButton* TextC;
  37.     QToolButton* TextB;
  38.     QToolButton* TextF;
  39.  
  40. public slots:
  41.     void languageChange();
  42.         
  43. private slots:
  44.     void setTypeStyle(int a);
  45.  
  46. signals:
  47.     void State(int);
  48.  
  49. protected:
  50.     QHBoxLayout* GroupAlignLayout;
  51.  
  52. };
  53.  
  54. #endif
  55.  
  56.